package com.sky.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/*
 * miniIo配置项
 * */
@Component
@ConfigurationProperties(prefix = "sky.minio")
@Data
public class MinioProperties {

    //连接url
    private String endpoint;
    //公钥
    private String accessKey;
    //私钥
    private String secretKwy;
    // 桶
    private String bucketName;

}
